package de.korny.dnd.lifecounter.conditions;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class HomeActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_home);
        
        TextView lifecounter = (TextView)findViewById(R.id.lifeview);
        lifecounter.setText("6666");
        Button gain = (Button)findViewById(R.id.gain);
        Button loose = (Button)findViewById(R.id.loose);
        gain.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				
			}
		});
    }
    
    

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_home, menu);
        return true;
    }
}
